-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Improvement] no need to wait after a successful retry #138
base: master
Are you sure you want to change the base?
Conversation
This configuration is to prevent exceptions caused by too frequent imports. What problems will the pause between batches cause to your job? |
Got it, thx. @gnehil |
You can reduce the batch loading interval by setting the doris.sink.batch.interval.ms option. The default value of this option is 50 (ms). Or you can set it to 0, so there will be no interval between batches. |
@gnehil I means providing two parameters:
When the retry interval is increased, it will not affect the batch flush interval. |
Good idea, you can submit PR for this |
cc @gnehil |
Iterator retry will lose data, refer to pr #145 |
Problem Summary:
When using
Utils.retry
, even if it succeeds, we still need to wait fordoris.sink.batch.interval.ms
milliseconds.This pr is to fix it.
Checklist(Required)